package org.ehe.business.ocr.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author :zhangnn
 * @className :BaiduOcrProperties
 * @description: TODO
 * @date 2025-07-22 17:05:54
 */
@Component
@ConfigurationProperties(prefix = "baidu.ocr")
public class BaiduOcrProperties {
    private String appId;
    private String apiKey;
    private String secretKey;
    private String tokenUrl;
    private String ocrUrl;

    //
    public String getAppId() { return appId; }
    public void setAppId(String appId) { this.appId = appId; }

    public String getApiKey() { return apiKey; }
    public void setApiKey(String apiKey) { this.apiKey = apiKey; }

    public String getSecretKey() { return secretKey; }
    public void setSecretKey(String secretKey) { this.secretKey = secretKey; }

    public String getTokenUrl() { return tokenUrl; }
    public void setTokenUrl(String tokenUrl) { this.tokenUrl = tokenUrl; }

    public String getOcrUrl() { return ocrUrl; }
    public void setOcrUrl(String ocrUrl) { this.ocrUrl = ocrUrl; }
}
